package com.yunhe.merchants.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.yunhe.common.model.mybatis.PageResult;
import com.yunhe.merchants.domain.MyProject;
import com.yunhe.merchants.model.FilterCondition;
import com.yunhe.merchants.service.IImportHistoryService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: DongWenYu
 * @Date: 2021/5/7 21:17
 */
@Service
public class ImportHistoryServiceImpl extends MyProjectServiceImpl implements IImportHistoryService {
    @Override
    public PageResult selectByFilterCondition(FilterCondition filterCondition, Long userId, int page, int size) {
        filterCondition.setImportPerson(userId);
        return super.selectByFilterCondition(filterCondition,null,userId,page,size);
    }

    @Override
    public List<MyProject> export(String ids, FilterCondition filterCondition) {
        return super.export(ids,filterCondition,null);
    }
}
